# Contributor: Andrew Hills <ahills@ednos.net>
# Contributor: Jean-Louis Fuchs <jean-louis.fuchs@adfinis-sygroup.ch>
# Maintainer: Jean-Louis Fuchs <jean-louis.fuchs@adfinis-sygroup.ch>
pkgname=zathura-ps
pkgver=0.2.6
pkgrel=6
pkgdesc="zathura-ps - plugin adds PostScript support to zathura"
url="https://git.pwmt.org/pwmt/zathura-ps"
arch="all"
license="Zlib"
depends="zathura"
makedepends="zathura-dev poppler-dev libspectre-dev meson ninja"
options="!check"
source="https://git.pwmt.org/pwmt/zathura-ps/-/archive/$pkgver/zathura-ps-$pkgver.tar.gz"


build() {
	meson build \
		--buildtype=plain \
		--prefix=/usr
	ninja -C build
}

package() {
	DESTDIR="$pkgdir" ninja -C build install
}

sha512sums="c416f0f5ec399a688399ca10d9b017f16827712adc44eaf1ac6a2d0a638bd93cb664fdd3d8275c827b96a882edb4f0789cb18bf31a663bf42ad1e12873ab484f  zathura-ps-0.2.6.tar.gz"
